package com.rjj.wlqq.listen.myListen;

import org.springframework.context.ApplicationEvent;

import java.util.Map;

/**
 * @author renjianjun
 * @date 2020/8/14 16:37
 * @email 215060580@qq.com
 * 自定义事件
 */
public class MyEvent extends ApplicationEvent {
    private Map<String,Object> map;
    public MyEvent(Object source, Map<String,Object> map) {
        super(source);
        this.map = map;
    }

    public Map<String, Object> getMap() {
        return map;
    }

    public void setMap(Map<String, Object> map) {
        this.map = map;
    }
}
